@import './base.css';

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  font-family: sans-serif;
  font-weight: normal;
}

#app > main {
  margin-top: 1em;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
}

.rank-2 {
  color: #3f995b;
}
.rank-3 {
  color: #3191ab;
}
.rank-4 {
  color: #7967ba;
}
.rank-5 {
  color: #df9e00;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    /*display: flex;*/
    place-items: center;
  }

  #app {
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-areas:
      "a b"
      "a c";
    padding: 0 2rem;
  }
}
